Skip to content

Commit

Permalink
address flake8 formatting complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljeans committed Feb 12, 2025
1 parent 74ea4e6 commit 21ea2d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DDG4/python/bin/g4GraphicalScan.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,10 @@
continue
elif r"| Layer \ " in line: # comment line
continue
elif inScan and '(' in line and len(line.split('(')[0].split()) == 12 and line.split()[0] == '|': # this line contains material information
elif inScan and \
'(' in line and \
len(line.split('(')[0].split()) == 12 and \
line.split()[0] == '|': # this line contains material information
index = int(line.split()[1])
material = line.split()[2]
radlen = 10 * float(line.split()[6]) # cm->mm
Expand Down

0 comments on commit 21ea2d5

Please sign in to comment.