Closed Gorkowski closed 1 month ago
PR Preview Action v1.4.8
:---:
:rocket: Deployed preview to https://uncscode.github.io/particula/pr-preview/pr-509/
on branch gh-pages
at 2024-10-17 14:14 UTC
This pull request reorganizes the project structure by moving code from the 'next' folder into the main 'particula' folder, removes old 'particula' code, and updates import statements across the project. It also includes some code formatting changes and removes several unused files.
classDiagram
class InputHandling {
+convert_units(old: Union[str, u.Quantity], new: Union[str, u.Quantity])
}
note for InputHandling "Removed multiple input handling functions and consolidated into convert_units"
classDiagram
class AntoineBuilder {
+set_a(a: float, a_units: Optional[str])
+set_b(b: float, b_units: str)
+set_c(c: float, c_units: str)
+build()
}
class ClausiusClapeyronBuilder {
+set_latent_heat(latent_heat: float, latent_heat_units: str)
+set_temperature_initial(temperature_initial: float, temperature_initial_units: str)
+set_pressure_initial(pressure_initial: float, pressure_initial_units: str)
+build()
}
class ConstantBuilder {
+set_vapor_pressure(vapor_pressure: float, vapor_pressure_units: str)
+build()
}
note for AntoineBuilder "Updated string formatting and import paths"
note for ClausiusClapeyronBuilder "Updated string formatting and import paths"
note for ConstantBuilder "Updated string formatting and import paths"
classDiagram
class SurfaceStrategyMolarBuilder {
+build() SurfaceStrategyMolar
}
class SurfaceStrategyMassBuilder {
+build() SurfaceStrategyMass
}
class SurfaceStrategyVolumeBuilder {
+build() SurfaceStrategyVolume
}
note for SurfaceStrategyMolarBuilder "Updated import paths and string formatting"
note for SurfaceStrategyMassBuilder "Updated import paths and string formatting"
note for SurfaceStrategyVolumeBuilder "Updated import paths and string formatting"
Change | Details | Files |
---|---|---|
Reorganized project structure by moving code from 'next' folder to main 'particula' folder |
|
particula/dynamics/coagulation/kernel.py particula/gas/atmosphere_builders.py particula/particles/surface_factories.py particula/aerosol.py particula/gas/species_factories.py particula/particles/representation_factories.py |
Removed old 'particula' code and unused files |
|
particula/particle.py particula/environment.py particula/vapor.py particula/util/stats.py particula/util/species_properties.py particula/util/coulomb_enhancement.py |
Updated import statements in Jupyter notebooks and test files |
|
docs/Tutorials/Dynamics/Condensation/Condensation_1_Bin.ipynb docs/Tutorials/Dynamics/Condensation/Condensation_2_MassBin.ipynb docs/Tutorials/Dynamics/Condensation/Condensation_3_MassResolved.ipynb docs/Tutorials/Dynamics/Coagulation/Functional/Coagulation_Basic_4_ParticleResolved.ipynb docs/Tutorials/Dynamics/Coagulation/Functional/Coagulation_Basic_5_SDM.ipynb |
Applied code formatting changes |
|
particula/gas/properties/mean_free_path.py particula/particles/distribution_factories.py particula/particles/properties/diffusion_coefficient.py particula/particles/surface_strategies.py |
Issue | Objective | Addressed | Explanation |
---|---|---|---|
#505 | Move contents in next folder up a directory | ✅ | |
#505 | Delete old particula | ✅ |
Remove old particula code unpack next folder into particula folder remove old utils used by the old particula code
Fixes #505
Summary by Sourcery
Reorganize the project structure by moving files from the 'next' folder to the main 'particula' folder, and remove deprecated code. Update documentation to reflect these changes.
Enhancements:
Documentation: