Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Psy-Fer/SquiggleKit
Browse files Browse the repository at this point in the history
  • Loading branch information
Psy-Fer committed Jan 29, 2024
2 parents 4cbe936 + c590876 commit 8c02394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SquigglePlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def main():
sig = np.array([float(i) for i in l[4:]], dtype=float)
else:
sig = np.array([int(i) for i in l[4:]], dtype=int)
if not sig:
if not sig.any():
sys.stderr.write("No signal found: {}".format(args.signal))
parser.print_help(sys.stderr)
sys.exit(1)
Expand Down

0 comments on commit 8c02394

Please sign in to comment.