Skip to content

Commit

Permalink
Merge pull request #136 from NREL/doc-update-and-pydantic-bump
Browse files Browse the repository at this point in the history
Doc update and pydantic bump
  • Loading branch information
AadilLatif authored Mar 12, 2024
2 parents f71af54 + 56b6678 commit c459d5a
Show file tree
Hide file tree
Showing 372 changed files with 14,529 additions and 14,926 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
#os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion PyDSS/ProfileManager/hooks/h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def setup_profiles(self):
**self.kwargs
)
else:
self.logger.warning("Group {} \ data set {} not found in the h5 store".format(
self.logger.warning("Group {} / data set {} not found in the h5 store".format(
group, profileName
))
else:
Expand Down
2 changes: 1 addition & 1 deletion PyDSS/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.0.2"
__version__ = "3.0.3"


from PyDSS.utils.timing_utils import timer_stats_collector
Expand Down
4 changes: 2 additions & 2 deletions PyDSS/api/server.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from PyDSS.api.src.web.handler import Handler
import PyDSS.api.schema as schema
#from aiohttp_swagger3 import *
#from aiohttp import web
from aiohttp_swagger3 import *
from aiohttp import web
import threading
import requests
import logging
Expand Down
2 changes: 0 additions & 2 deletions PyDSS/api/src/app/DataWriter.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from PyDSS.api.src.app.arrow_writer import ArrowWriter
from PyDSS.api.src.app.HDF5 import hdf5Writer
from PyDSS.api.src.app.JSON_writer import JSONwriter

class DataWriter:
modes = {
'arrow': ArrowWriter,
'h5': hdf5Writer,
'json': JSONwriter,
# 'parquet': parquetWriter,
Expand Down
72 changes: 0 additions & 72 deletions PyDSS/api/src/app/arrow_writer.py

This file was deleted.

1 change: 0 additions & 1 deletion PyDSS/api/src/app/pydss.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from queue import Empty
from PyDSS.dssInstance import OpenDSS
from PyDSS.api.src.web.parser import restructure_dictionary
# from PyDSS.api.src.app.arrow_writer import ArrowWriter
from PyDSS.api.src.app.JSON_writer import JSONwriter
from PyDSS.simulation_input_models import SimulationSettingsModel

Expand Down
2 changes: 1 addition & 1 deletion PyDSS/api/src/web/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import shutil
import asyncio
from uuid import uuid4
#from aiohttp import web
from aiohttp import web
from PyDSS.api.src.app.pydss import PyDSS
from multiprocessing import Queue, Process, Event, cpu_count
from concurrent.futures import ThreadPoolExecutor
Expand Down
Loading

0 comments on commit c459d5a

Please sign in to comment.