"launch/dynamo-run/src/vscode:/vscode.git/clone" did not exist on "b495cd839e6f24f0acdf8be4609c4bf43c9571d6"
Commit fc7bb8a3 authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Fix bug in flattening script

parent 8881b210
......@@ -27,9 +27,7 @@ for chain_dir in $(ls "${RODA_DIR}"); do
CHAIN_DIR_PATH="${RODA_DIR}/${chain_dir}"
for subdir in $(ls "${CHAIN_DIR_PATH}"); do
if [[ $subdir = "pdb" ]] || [[ $subdir = "cif" ]]; then
CHAIN_DATA_DIR="${DATA_DIR}/${chain_dir}"
mkdir -p "${CHAIN_DATA_DIR}"
mv "${CHAIN_DIR_PATH}/${subdir}"/* "${CHAIN_DATA_DIR}"
mv "${CHAIN_DIR_PATH}/${subdir}"/* "${DATA_DIR}"
else
CHAIN_ALIGNMENT_DIR="${ALIGNMENT_DIR}/${chain_dir}"
mkdir -p "${CHAIN_ALIGNMENT_DIR}"
......
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