# HG changeset patch # User ecology # Date 1708798338 0 # Node ID b79faea33a8a0265049dae50b10df7262661b001 # Parent f82f266381be3d78763aeb9ef20cb1e4d67bdf9f planemo upload for repository https://github.com/jeremyfix/medenv commit 56fa523a7852e06962a05a05224ca193c25e20bc diff -r f82f266381be -r b79faea33a8a med_environ.py --- a/med_environ.py Thu Feb 15 20:01:29 2024 +0000 +++ b/med_environ.py Sat Feb 24 18:12:18 2024 +0000 @@ -63,11 +63,10 @@ # Loads the input dataset df = pd.read_csv(args.datafile, sep="\t") - lat_key = df.columns[args.lat_key] - long_key = df.columns[args.long_key] - depth_key = df.columns[args.depth_key] - date_key = df.columns[args.date_key] - print(lat_key, long_key, depth_key, date_key) + lat_key = df.columns[args.lat_key - 1] + long_key = df.columns[args.long_key - 1] + depth_key = df.columns[args.depth_key - 1] + date_key = df.columns[args.date_key - 1] df = df.apply( environment_observation, diff -r f82f266381be -r b79faea33a8a med_environ.xml --- a/med_environ.xml Thu Feb 15 20:01:29 2024 +0000 +++ b/med_environ.xml Sat Feb 24 18:12:18 2024 +0000 @@ -75,11 +75,11 @@ - - + + - - + +