Skip to content

Commit

Permalink
working version of dummy plugin tested
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sintef committed Dec 2, 2022
1 parent efe8250 commit 0e04df1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion aiida_marketusercase3/calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def define(cls, spec):
'num_machines': 1,
'num_mpiprocs_per_machine': 1,
}
spec.inputs['metadata']['options']['parser_name'].default = 'marketusercase3'
spec.inputs['metadata']['options']['parser_name'].default = 'dummy_marketuc3'
#spec.input(
# "cas_file", valid_type=SinglefileData, help="Cas file"
#)
Expand Down
14 changes: 8 additions & 6 deletions wait_watch.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
#!/bin/bash

JOB_UUID=$(cat JOB_UUID)
WORKDIR=/tmp/${JOB_UUID}
WORKDIR=/home/aiidawork/${JOB_UUID}
mkdir -p $WORKDIR

INPUT_FILE=./inputs.json
cp $INPUT_FILE $WORKDIR/

OUTPUT_FILE=${WORKDIR}/test
OUTPUT_FILE=${WORKDIR}/results.json
while true
do
if [ -e "$OUTPUT_FILE" ]; then
echo "$OUTPUT_FILE exists."
echo "$OUTPUT_FILE found, done!"
cp $OUTPUT_FILE ./
break
fi
fi
#sleep 2
done


0 comments on commit 0e04df1

Please sign in to comment.