Skip to content

Commit

Permalink
automatic update
Browse files Browse the repository at this point in the history
  • Loading branch information
ODA bot committed Mar 25, 2024
1 parent c197062 commit 1c1b970
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/cta/Simulate_pointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
get_ipython().run_cell_magic( # noqa: F821
"bash",
"",
'rm -r IRFS | echo "Ok"\nmkdir IRFS\ncd IRFS\nwget https://zenodo.org/records/5499840/files/cta-prod5-zenodo-fitsonly-v0.1.zip\nunzip cta-prod5-zenodo-fitsonly-v0.1.zip\ncd fits\nfor fn in *.gz ; do tar -zxvf $fn; done \n',
'git rev-parse HEAD\nrm -r IRFS | echo "Ok"\nmkdir IRFS\ncd IRFS\nwget https://zenodo.org/records/5499840/files/cta-prod5-zenodo-fitsonly-v0.1.zip\nunzip cta-prod5-zenodo-fitsonly-v0.1.zip\ncd fits\nfor fn in *.gz ; do tar -zxvf $fn; done \n',
)

import astropy.units as u
Expand Down
2 changes: 1 addition & 1 deletion tools/cta/cta_astro_tool.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<conditional name="_data_product">
<param name="_selector" value="model_CTA_events_from_file" />
<param name="Texp" value="2.4" />
<param name="file_path" location="https://gitlab.renkulab.io/astronomy/mmoda/cta/-/raw/1edc36874981c53e78305d73dca214499afd53b0/3d.fits" />
<param name="file_path" location="https://gitlab.renkulab.io/astronomy/mmoda/cta/-/raw/4add33e1f3cc08f10ddbf5ae9a1715ab74f223be/3d.fits" />
<param name="file_url" value="" />
<param name="F0" value="4e-13" />
<param name="E0" value="1.0" />
Expand Down
5 changes: 4 additions & 1 deletion tools/cta/model_CTA_events_from_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
import json
import os
import shutil
import sys

from oda_api.json import CustomJSONEncoder

get_ipython().run_cell_magic("bash", "", "git rev-parse HEAD\n") # noqa: F821

import sys

sys.path.append(".")
from pathlib import Path

Expand Down

0 comments on commit 1c1b970

Please sign in to comment.