mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
Merge branch 'developer' into roundrobin
This commit is contained in:
commit
50c8f2d432
@ -41,7 +41,7 @@ def list_to_bitmask(values):
|
||||
return mask
|
||||
|
||||
def make_bitmask(args):
|
||||
if isinstance(args, list):
|
||||
if isinstance(args, (list,tuple)):
|
||||
return list_to_bitmask(args)
|
||||
elif isinstance(args, dict):
|
||||
return {key: list_to_bitmask(value) for key, value in args.items()}
|
||||
|
Loading…
x
Reference in New Issue
Block a user