Skip to content

Commit

Permalink
use path to code
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Savchenko authored and Volodymyr Savchenko committed Oct 16, 2024
1 parent b6ed7bc commit 03e676e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/analyse-short-astro-text/telescope_type_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# flake8: noqa


import json
import os
import shutil
Expand Down Expand Up @@ -37,7 +38,9 @@
atel_ = number
### Settings

data_path = os.path.abspath("data/")
data_path = os.path.dirname(__file__) + "/data/"

print("data_path", data_path)

model_file = f"{data_path}/probabilistic_models/first_single_second_single_with_tel_repetition.dat.npy"

Expand Down

0 comments on commit 03e676e

Please sign in to comment.