Skip to content

Commit

Permalink
#387 remove sed-ing from validation tests now that biolink is gone
Browse files Browse the repository at this point in the history
  • Loading branch information
ecwood committed Sep 2, 2024
1 parent b3c8cea commit c36d3c3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions validate/run-validation-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ export PATH=$PATH:${BUILD_DIR}

biolink_base_url_no_version=https://raw.githubusercontent.com/biolink/biolink-model/
biolink_raw_base_url=${biolink_base_url_no_version}v${biolink_model_version}/
biolink_download_url=${biolink_raw_base_url}/project/owl/biolink_model.owl.ttl
curies_urls_map_replace_string="\ biolink_download_source: ${biolink_download_url}"
ont_load_inventory_replace_string="\ url: ${biolink_download_url}"
biolink_url_context_jsonld=${biolink_raw_base_url}context.jsonld
biolink_model_owl=biolink_model.owl.ttl
biolink_model_owl_local_file=${BUILD_DIR}/${biolink_model_owl}
biolink_model_owl_url=${biolink_raw_base_url}project/owl/${biolink_model_owl}
biolink_model_yaml=biolink_model.yaml
biolink_model_yaml_url=${biolink_raw_base_url}src/biolink_model/schema/${biolink_model_yaml}
biolink_model_yaml_local_file=${BUILD_DIR}/${biolink_model_yaml}
Expand All @@ -42,13 +35,6 @@ cat ${config_dir}/master-config.shinc
echo ${VALIDATE_CODE_DIR}
echo ${curies_to_urls_file}

sed -i "\@${biolink_base_url_no_version}@c${curies_urls_map_replace_string}" \
${curies_to_urls_file}

sed -i "\@${biolink_base_url_no_version}@c${ont_load_inventory_replace_string}" \
${ont_load_inventory_file}

rm -f ${biolink_model_owl_local_file}
rm -f ${biolink_model_yaml_local_file}

cd ${BUILD_DIR}
Expand Down

0 comments on commit c36d3c3

Please sign in to comment.