Commit 4b043aeb authored by Marcel Henrik Schubert's avatar Marcel Henrik Schubert
Browse files

fixed filepaths

parent 674d7f4b
......@@ -2,8 +2,8 @@
typ=creator
# Standard output and error:
#SBATCH -o ./../jobscripts/out/preprocess_${typ}_out.%j
#SBATCH -e ./../jobscripts/out/preprocess_${typ}_err_part_2.%j
#SBATCH -o ./../../jobscripts/out/preprocess_${typ}_out.%j
#SBATCH -e ./../../jobscripts/out/preprocess_${typ}_err_part_2.%j
# Initial working directory:
#SBATCH -D /ptmp/mschuber/PAN/Scripts/Preprocessing
# Job Name:
......
......@@ -2,8 +2,8 @@
typ=manager
# Standard output and error:
#SBATCH -o ./../jobscripts/out/preprocess_${typ}_out.%j
#SBATCH -e ./../jobscripts/out/preprocess_${typ}_err_part_2.%j
#SBATCH -o ./../../jobscripts/out/preprocess_${typ}_out.%j
#SBATCH -e ./../../jobscripts/out/preprocess_${typ}_err_part_2.%j
# Initial working directory:
#SBATCH -D /ptmp/mschuber/PAN/Scripts/Preprocessing
# Job Name:
......
......@@ -2,8 +2,8 @@
typ=performer
# Standard output and error:
#SBATCH -o ./../jobscripts/out/preprocess_${typ}_out.%j
#SBATCH -e ./../jobscripts/out/preprocess_${typ}_err_part_2.%j
#SBATCH -o ./../../jobscripts/out/preprocess_${typ}_out.%j
#SBATCH -e ./../../jobscripts/out/preprocess_${typ}_err_part_2.%j
# Initial working directory:
#SBATCH -D /ptmp/mschuber/PAN/Scripts/Preprocessing
# Job Name:
......
......@@ -47,7 +47,7 @@ with open(datapath+labels, 'r', encoding='utf-8') as f:
def make_file_paths(path):
for el in pathmodify:
os.makedirs(path, exist_ok=True)
re.sub
def preprocess(text, q):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment