Using group attrs instead of groupname for values #13
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Crash
Kind/Documentation
Kind/Enhancement
Kind/Feature
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Priority
Very low
Reviewed
Duplicate
Reviewed
Invalid
Reviewed/Won't Fix
Status
Need More Info
Status
On Hold
Status
Stale
Type/BDS
Type/DSC
Type/Fit
Type/General
Type/NMR
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: IPKM/nmreval#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In hdfreader.py:
The //create_node// method is collecting variable and value information through the HDF group name only. Maybe this could also be done by using the groups attributes, i.e. the DAMARIS information set by //set_description//.
All needed //set_description// attributes should be available anyway in order to create the group name in the DAMARIS result script the first place. Usually ... but maybe not always.
def create_node(self, node):
...
for lvl in xy.split('/'):
try:
var_name, var_value = lvl.split('=')
if var_name.strip() not in self.variables:
self.variables.append(var_name.strip())
except ValueError:
pass
dic[xy.split('/')[-1]] = ('Signal', v.ref)
...