DiamondLightSource / DiamondLightSource/Savu

Add a flag to keep meta data

Open
#284 0 comments 0 reactions 1 assignee Claimed by @nicwade View on GitHub
Dominant language
Python
Stars
43
Forks
42
PR merge metrics
No merged PRs in 30d

Description

It would be great to have a flag/something in the setup so that when an output dataset is created, it definitely inherits all meta data from the input dataset, regardless of whether the output is a different name.

Use case:
I have an input dataset "spectrum", and subtract a background. I return a "spectrum_no_background" and "background" dataset. Unless I explicitly copy the dictionary to the output dataset, no metadata is carried over. This is particularly import since the axis arrays are not copied.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.