Skip to content

Commit abd2f55

Browse files
Merge branch 'main' into joss
2 parents 3d0fe2e + 7f02aca commit abd2f55

17 files changed

+53
-61
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ COPY pyproject.toml .
3131
COPY src/ ./src/
3232

3333
# Install python core package with setuptools-scm version override
34-
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FUEL_CYCLE_SIM=${VERSION} pip install .
34+
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PATHVIEW=${VERSION} pip install .
3535

3636
# Install gunicorn for production WSGI server
3737
RUN pip install gunicorn

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Fuel Cycle Simulator
2-
An interactive visual tool built with React Flow and a python (Flask) backend to simulate fuel cycle components.
1+
# PathView
2+
An interactive visual tool built with React Flow and a python (Flask) backend for system modelling using PathSim.
33

44
# Required Installations
55
Make sure the following are installed on your system:
@@ -9,7 +9,7 @@ Make sure the following are installed on your system:
99

1010
# Project Structure
1111
```bash
12-
fuel-cycle-sim/
12+
pathview/
1313

1414
├── package.json # Frontend (React) dependencies
1515

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# -- Project information -----------------------------------------------------
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

9-
project = "fuel-cycle-sim"
9+
project = "pathview"
1010
copyright = "2025, Tasnim Zulfiqar, James Dark, Remi Delaporte-Mathurin"
1111
author = "Tasnim Zulfiqar, James Dark, Remi Delaporte-Mathurin"
1212

docs/index.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.. fuel-cycle-sim documentation master file, created by
1+
.. pathview documentation master file, created by
22
sphinx-quickstart on Wed Jul 23 14:07:29 2025.
33
4-
==========================================
5-
Fuel Cycle Simulator (name will change...)
6-
==========================================
4+
========
5+
PathView
6+
========
77

88
An interactive visual tool for modeling and simulating nuclear fuel cycle components using React Flow frontend and Python Flask backend.
99

@@ -24,16 +24,16 @@ An interactive visual tool for modeling and simulating nuclear fuel cycle compon
2424
Statement of Need
2525
===============================
2626

27-
Fusion fuel cycle modeling is a critical aspect of nuclear engineering that requires sophisticated tools to analyze material flows, reactor performance, and waste management strategies. The Fuel Cycle Simulator addresses the need for:
27+
System modeling is a critical aspect of nuclear engineering that requires sophisticated tools to analyze material flows, reactor performance, and waste management strategies. PathView addresses the need for:
2828

2929
**Accessibility**
30-
Traditional fuel cycle simulation tools are often complex, proprietary, or require extensive training. This tool provides an intuitive visual interface that makes fuel cycle modeling accessible to students, researchers, and professionals.
30+
Traditional system simulation tools are often complex, proprietary, or require extensive training. This tool provides an intuitive visual interface that makes system modeling accessible to students, researchers, and professionals.
3131

3232
**Interactivity**
33-
Static models and command-line tools limit exploration and understanding. Our interactive visual approach allows users to build, modify, and experiment with fuel cycle scenarios in real-time.
33+
Static models and command-line tools limit exploration and understanding. Our interactive visual approach allows users to build, modify, and experiment with system scenarios in real-time.
3434

3535
**Educational Value**
36-
The visual nature of the tool makes it ideal for teaching fuel cycle concepts, allowing students to see the connections between different components and understand material flows.
36+
The visual nature of the tool makes it ideal for teaching system concepts, allowing students to see the connections between different components and understand material flows.
3737

3838
**Research Flexibility**
3939
Researchers need tools that can be easily modified and extended. The open-source nature and modular architecture enable customization for specific research needs.
@@ -48,7 +48,7 @@ Installation Guide
4848
System Requirements
4949
-------------------
5050

51-
Before installing the Fuel Cycle Simulator, ensure your system meets the following requirements:
51+
Before installing PathView, ensure your system meets the following requirements:
5252

5353
**Required Software:**
5454
- Node.js 18+ and npm
@@ -67,9 +67,9 @@ Installation Steps
6767
1. **Clone the Repository**
6868

6969
.. code-block:: bash
70-
71-
git clone https://github.com/yourusername/fuel-cycle-sim.git
72-
cd fuel-cycle-sim
70+
71+
git clone https://github.com/festim-dev/pathview.git
72+
cd pathview
7373
7474
2. **Install Frontend Dependencies**
7575

@@ -127,7 +127,7 @@ Example Usage
127127
Quick Start Example
128128
-------------------
129129

130-
Here's a simple example to get you started with the Fuel Cycle Simulator:
130+
Here's a simple example to get you started with PathView:
131131

132132
WIP
133133

@@ -159,7 +159,7 @@ WIP
159159
Community Guidelines
160160
===============================
161161

162-
Welcome to the Fuel Cycle Simulator community! We're committed to fostering an inclusive, collaborative environment for all contributors.
162+
Welcome to the PathView community! We're committed to fostering an inclusive, collaborative environment for all contributors.
163163

164164
Code of Conduct
165165
----------------
@@ -218,7 +218,7 @@ Communication Channels
218218
Support
219219
===============================
220220

221-
If you need help with the Fuel Cycle Simulator, here are the best ways to get support:
221+
If you need help with PathView, here are the best ways to get support:
222222

223223
- **Documentation**: Start with this documentation
224224
- **GitHub Issues**: For bugs and feature requests

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "fuel-cycle-sim",
2+
"name": "pathview",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",
@@ -33,4 +33,4 @@
3333
"globals": "^16.0.0",
3434
"vite": "^6.3.5"
3535
}
36-
}
36+
}

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ requires = ["setuptools>=61.0", "wheel", "setuptools-scm[toml] >= 7.0.5"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "fuel-cycle-sim"
6+
name = "pathview"
77
dynamic = ["version"]
8-
description = "A Python package for fuel cycle simulation with pathsim integration"
8+
description = "A Graphical User Interface for System Simulation"
99
readme = "README.md"
1010
license = {file = "LICENSE"}
1111
authors = [
@@ -37,17 +37,17 @@ dev = [
3737

3838

3939
[project.urls]
40-
Homepage = "https://github.com/yourusername/fuel-cycle-sim"
41-
Documentation = "https://fuel-cycle-sim.readthedocs.io/"
42-
Repository = "https://github.com/yourusername/fuel-cycle-sim.git"
43-
Issues = "https://github.com/yourusername/fuel-cycle-sim/issues"
40+
Homepage = "https://github.com/festim-dev/pathview"
41+
Documentation = "https://pathview.readthedocs.io/"
42+
Repository = "https://github.com/festim-dev/pathview.git"
43+
Issues = "https://github.com/festim-dev/pathview/issues"
4444

4545
[tool.setuptools]
46-
packages = ["fuel_cycle_sim"]
47-
package-dir = {"fuel_cycle_sim" = "src/python"}
46+
packages = ["pathview"]
47+
package-dir = {"pathview" = "src/python"}
4848

4949
[tool.setuptools.package-data]
50-
fuel_cycle_sim = ["templates/*"]
50+
pathview = ["templates/*"]
5151

5252
[tool.setuptools_scm]
5353
write_to = "src/python/_version.py"

src/App.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,12 +1176,12 @@ const DnDFlow = () => {
11761176
onClick={() => {
11771177
// Display version information and help
11781178
const pathsimVersion = versionInfo?.pathsim_version || 'Loading...';
1179-
const fcsVersion = versionInfo?.fuel_cycle_sim_version || 'Loading...';
1179+
const fcsVersion = versionInfo?.pathview_version || 'Loading...';
11801180

11811181
const message = `Help documentation coming soon!\n\n` +
11821182
`Version Information:\n` +
11831183
`• PathSim: ${pathsimVersion}\n` +
1184-
`• Fuel Cycle Sim: ${fcsVersion}\n\n`;
1184+
`• PathView: ${fcsVersion}\n\n`;
11851185

11861186
alert(message);
11871187
}}

src/backend.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import io
1212
from contextlib import redirect_stdout, redirect_stderr
1313

14-
from fuel_cycle_sim.convert_to_python import convert_graph_to_python
15-
from fuel_cycle_sim.pathsim_utils import make_pathsim_model, map_str_to_object
14+
from pathview.convert_to_python import convert_graph_to_python
15+
from pathview.pathsim_utils import make_pathsim_model, map_str_to_object
1616
from pathsim.blocks import Scope, Spectrum
1717

1818
# Sphinx imports for docstring processing
@@ -131,15 +131,13 @@ def serve_frontend():
131131
if os.getenv("FLASK_ENV") == "production":
132132
return app.send_static_file("index.html")
133133
else:
134-
return jsonify({"message": "Fuel Cycle Simulator API", "status": "running"})
134+
return jsonify({"message": "PathView API", "status": "running"})
135135

136136

137137
# Health check endpoint for Cloud Run
138138
@app.route("/health", methods=["GET"])
139139
def health_check():
140-
return jsonify(
141-
{"status": "healthy", "message": "Fuel Cycle Simulator Backend is running"}
142-
), 200
140+
return jsonify({"status": "healthy", "message": "PathView Backend is running"}), 200
143141

144142

145143
# Version information endpoint
@@ -151,22 +149,22 @@ def get_version():
151149

152150
pathsim_version = getattr(pathsim, "__version__", "Unknown")
153151

154-
import fuel_cycle_sim
152+
import pathview
155153

156-
fcs_version = getattr(fuel_cycle_sim, "__version__", "Unknown")
154+
fcs_version = getattr(pathview, "__version__", "Unknown")
157155

158156
return jsonify(
159157
{
160158
"pathsim_version": pathsim_version,
161-
"fuel_cycle_sim_version": fcs_version,
159+
"pathview_version": fcs_version,
162160
"status": "success",
163161
}
164162
), 200
165163
except Exception as e:
166164
return jsonify(
167165
{
168166
"pathsim_version": "Unknown",
169-
"fuel_cycle_sim_version": "Unknown",
167+
"pathview_version": "Unknown",
170168
"status": "error",
171169
"error": str(e),
172170
}

src/python/__init__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
"""
2-
Fuel Cycle Simulation Package
3-
4-
A Python package for fuel cycle simulation with pathsim integration.
5-
"""
6-
71
from importlib import metadata
82

93
try:
10-
__version__ = metadata.version("fuel_cycle_sim")
4+
__version__ = metadata.version("pathview")
115
except Exception:
126
__version__ = "unknown"
137

0 commit comments

Comments
 (0)