-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from nicolasaunai/fix_circ_import
fix circular import
- Loading branch information
Showing
3 changed files
with
191 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
__author__ = """Nicolas Aunai""" | ||
__email__ = "[email protected]" | ||
__version__ = '0.1.1' | ||
__version__ = "0.1.1" | ||
|
||
from platformdirs import user_data_dir | ||
import urllib.request | ||
import os | ||
|
||
from .mpmaps import MPMap | ||
from .globals import grids | ||
|
||
|
||
data_dir = os.path.join(user_data_dir(), "mpmaps") | ||
|
||
grids = [ | ||
"mp_coordinates.pkl", | ||
"mp_b_msp.pkl", | ||
"mp_b_msh.pkl", | ||
"mp_np_msp.pkl", | ||
"mp_np_msh.pkl", | ||
] | ||
|
||
base_url = "https://hephaistos.lpp.polytechnique.fr/data/mpmaps_grids" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
grids = [ | ||
"mp_coordinates.pkl", | ||
"mp_b_msp.pkl", | ||
"mp_b_msh.pkl", | ||
"mp_np_msp.pkl", | ||
"mp_np_msh.pkl", | ||
] |
Oops, something went wrong.