Skip to content

Commit

Permalink
update example scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Grant <[email protected]>
  • Loading branch information
geocoug committed Aug 1, 2024
1 parent c1a563f commit d11f1f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ clean: ## Remove temporary files
@rm -rf pg_upsert.log
@rm -rf site/
@rm -rf .mypy_cache
@rm -rf *.xlsx
@rm -rf *.sqlite

bump: ## Show the next version
@bump-my-version show-bump
Expand Down
1 change: 1 addition & 0 deletions scripts/cli-example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
osascript -e 'tell application "Microsoft Excel" to close (every workbook whose name is "test.xlsx") saving no' >> /dev/null \
&& uv pip install -e . \
&& crosstab -d -k -f tests/data/sample2.csv -o test.xlsx -r location_id sample_id sample_no sample_material labsample -c cas_rn analyte analyte_name -v concentration units qualifiers \
&& uv pip uninstall . \
&& open test.xlsx
2 changes: 1 addition & 1 deletion scripts/docker-example.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

osascript -e 'tell application "Microsoft Excel" to close (every workbook whose name is "test.xlsx") saving no' >> /dev/null \
&& docker run --rm -v $(pwd):/data ghcr.io/geocoug/crosstab:latest -d -k -s -f tests/data/sample2.csv -o test.xlsx -r location_id sample_no sample_material labsample meas_basis -c cas_rn analyte analyte_name -v concentration units qualifiers \
&& docker run --rm -v $(pwd):/data ghcr.io/geocoug/crosstab:latest -d -k -s -f /data/tests/data/sample2.csv -o test.xlsx -r location_id sample_id sample_no sample_material labsample -c cas_rn analyte analyte_name -v concentration units qualifiers \
&& open test.xlsx

0 comments on commit d11f1f9

Please sign in to comment.