Loading web/apptool/acjsonCheck.py +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ def acjsoncheck(): d_acrecord=d_acorigin, ts_axis=ac.ts_ACAXIS, b_leaf_intersection=True, b_recordset_major=True, b_recordset_major=False, es_error=es_error, ) # append to logfie Loading web/apptool/dfMove.py 0 → 100644 +44 −0 Original line number Diff line number Diff line #### # title: dfMove.py # language: python3 # author: bue # date: 2018-06-09 # license GPLv3 # # input: nop # # output: # files moved to there corresponing analysis folders # # run: # python3 dfMove.py # # description: # moves dataframes produced with anjsonDfUnstacked.py # to the corresponding analysis folder. #### # library import os import re import shutil # main def dfmove(): """ run dmc """ b_out = False # get dataframe file names for s_file in os.listdir("."): if re.search("_an2omero.csv$", s_file): s_path = "/data/share/lincs_user/{}/Analysis/".format(s_file.split('_')[0]) print("move {} to {}...".format(s_file, s_path)) if not os.path.isdir(s_path): os.mkdir(s_path) shutil.move(s_file, s_path) # output b_out = True return(b_out) Loading
web/apptool/acjsonCheck.py +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ def acjsoncheck(): d_acrecord=d_acorigin, ts_axis=ac.ts_ACAXIS, b_leaf_intersection=True, b_recordset_major=True, b_recordset_major=False, es_error=es_error, ) # append to logfie Loading
web/apptool/dfMove.py 0 → 100644 +44 −0 Original line number Diff line number Diff line #### # title: dfMove.py # language: python3 # author: bue # date: 2018-06-09 # license GPLv3 # # input: nop # # output: # files moved to there corresponing analysis folders # # run: # python3 dfMove.py # # description: # moves dataframes produced with anjsonDfUnstacked.py # to the corresponding analysis folder. #### # library import os import re import shutil # main def dfmove(): """ run dmc """ b_out = False # get dataframe file names for s_file in os.listdir("."): if re.search("_an2omero.csv$", s_file): s_path = "/data/share/lincs_user/{}/Analysis/".format(s_file.split('_')[0]) print("move {} to {}...".format(s_file, s_path)) if not os.path.isdir(s_path): os.mkdir(s_path) shutil.move(s_file, s_path) # output b_out = True return(b_out)