Skip to content

Commit

Permalink
refs #55: MCA key can have numbers, differentiating multiple MCAs in use
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jun 10, 2016
1 parent 4e6bb02 commit 8c36521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/spec2nexus/dev_nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import nexus

args = 'data/02_03_setup.dat -f --verbose -s 46'
args = 'data/33id_spec.dat -f --verbose -s 1'
args = 'data/spectra_example.dat -f --verbose -s 1'
for _ in args.split():
sys.argv.append(_)

Expand Down
2 changes: 1 addition & 1 deletion src/spec2nexus/plugins/spec_common_spec2nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ class SPEC_MCA_Array(ControlLineHandler):
'''

key = '@A'
key = r'@A\d*'
# continued lines will be matched by SPEC_DataLine
# process these lines only after all lines have been read

Expand Down

0 comments on commit 8c36521

Please sign in to comment.