Skip to content

Commit

Permalink
removing the truncate step to download the same sample created
Browse files Browse the repository at this point in the history
  • Loading branch information
anitacaron committed Oct 10, 2024
1 parent 6342501 commit 32c9dbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ clean:
rm -rf build dashboard dependencies

# Truncate potentially huge robot reports
truncate_reports_for_github:
$(eval REPORTS := $(wildcard dashboard/*/robot_report.tsv))
for REP in $(REPORTS); do \
touch $$REP; \
cat $$REP | head -$(REPORT_LENGTH_LIMIT) > $$REP.tmp; \
mv $$REP.tmp $$REP; \
done
# truncate_reports_for_github:
# $(eval REPORTS := $(wildcard dashboard/*/robot_report.tsv))
# for REP in $(REPORTS); do \
# touch $$REP; \
# cat $$REP | head -$(REPORT_LENGTH_LIMIT) > $$REP.tmp; \
# mv $$REP.tmp $$REP; \
# done

# ------------------- #
### DIRECTORY SETUP ###
Expand Down
4 changes: 2 additions & 2 deletions util/dashboard_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def rundashboard(configfile, clean):
prepare_ontologies(ontologies['ontologies'], ontology_dir, dashboard_dir, make_parameters, config)
logging.info("Building the dashboard")
runcmd(f"make dashboard {make_parameters} -B", config.get_dashboard_report_timeout_seconds())
logging.info("Postprocess files for github")
runcmd(f"make truncate_reports_for_github {make_parameters} -B", config.get_dashboard_report_timeout_seconds())
# logging.info("Postprocess files for github")
# runcmd(f"make truncate_reports_for_github {make_parameters} -B", config.get_dashboard_report_timeout_seconds())

info_usage_namespace = 'Info: Usage of namespaces in axioms'

Expand Down

0 comments on commit 32c9dbb

Please sign in to comment.