You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RF+ENH: reproin - allow for an empty key in protocols2fix to provide fixups for any study
For some data we cannot rely on reliable presence of consistent study_description
across scans. That results in the necessity to duplicate the same protocols2fix
records for multiple (not known in advance) study descriptions (actually -- their
hashes, which makes it even more difficult). But in the cases with custom
overloads of protocols2fix, it is desired to just provide global rewrite rules,
which could be applied to any collection since they did follow some convention.
Now, with an empty "hash", those rules would be applied last, i.e. after possible
study-specific fixups applied.
As part of the solution I removed preliminary check to skip a call to
fix_dbic_protocol altogether. It should be better this way.
I also removed binding of series_spec_fields and protocols2fix within function
signature. It should allow easier overloading at the module level when needed
0 commit comments