Skip to content

Commit

Permalink
fixed -noshapiro & example.csv input problem
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsilen committed Feb 26, 2018
1 parent 41bad75 commit c3d7515
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion groupanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,13 @@ def TimeSeries(data, filenames):
plt.close()

# Create dataframe array that will be passed to TimeSeries or Individual function
if len(sys.argv) < 2:
csvinput = False
for j, element in enumerate(sys.argv[1:]):
if ".csv" in element:
csvinput = True
if csvinput == False:
sys.argv.append('example.csv')

data = []
filenames = []
runshapiro = True
Expand Down

0 comments on commit c3d7515

Please sign in to comment.