Skip to content

Commit

Permalink
Permit data to not be dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Sep 26, 2024
1 parent e20309f commit a14affa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions photochem/cython/Atmosphere.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ cdef class Atmosphere:
self._init_called = True

if data_dir == None:
import photochem_clima_data
data_dir_ = photochem_clima_data.DATA_DIR
else:
data_dir_ = data_dir
Expand Down
1 change: 1 addition & 0 deletions photochem/cython/EvoAtmosphere.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ cdef class EvoAtmosphere:
self._init_called = True

if data_dir == None:
import photochem_clima_data
data_dir_ = photochem_clima_data.DATA_DIR
else:
data_dir_ = data_dir
Expand Down
1 change: 0 additions & 1 deletion photochem/cython/_photochem.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ from cpython.object cimport PyObject_GenericSetAttr
import numpy as np
import ctypes as ct
import os
import photochem_clima_data

DEF S_STR_LEN = 20;
DEF M_STR_LEN = 100;
Expand Down

0 comments on commit a14affa

Please sign in to comment.