Skip to content

Commit

Permalink
update tutorial for better understanding
Browse files Browse the repository at this point in the history
  • Loading branch information
xyluo25 committed Nov 20, 2024
1 parent 80de919 commit f1e0f68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
11 changes: 2 additions & 9 deletions tutorial/demand_from_TAZ.py → tutorial_demand_from_TAZ.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,8 @@
##############################################################

from __future__ import absolute_import
from pathlib import Path
import os

try:
import grid2demand as gd
except ImportError:
root_path = Path(os.path.abspath(__file__)).parent.parent
os.chdir(root_path)
import grid2demand as gd
import grid2demand as gd


if __name__ == "__main__":

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@
"""

from __future__ import absolute_import
from pathlib import Path
import os

try:
import grid2demand as gd
except ImportError:
root_path = Path(os.path.abspath(__file__)).parent.parent
os.chdir(root_path)
import grid2demand as gd
import grid2demand as gd


if __name__ == "__main__":

Expand Down
File renamed without changes.

0 comments on commit f1e0f68

Please sign in to comment.