Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated versions of all subpackages #62

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"streamlit",
"openmc_source_plotter>=0.6.2",
"openmc_geometry_plot>=0.4.3",
"openmc_source_plotter>=0.7.0",
"dagmc_geometry_slice_plotter>=0.3.1",
"openmc_geometry_plot>=0.3.5",
"regular_mesh_plotter>=0.5.3",
"openmc_depletion_plotter>=0.3.1",
"openmc_cylindrical_mesh_plotter>=0.1.2",
"openmc_regular_mesh_plotter>=1.2.1",
"openmc_depletion_plotter>=0.4.0",
"openmc_cylindrical_mesh_plotter>=0.3.3",
]
dynamic = ["version"]

Expand All @@ -52,3 +51,4 @@ package-dir = {"" = "src"}

[project.scripts]
openmc_plot = "openmc_plot.launch:main"
openmc-plot = "openmc_plot.launch:main"
4 changes: 1 addition & 3 deletions src/openmc_plot/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)

version = "v0.3.0"
version = "v0.3.1"
location = os.getenv("OPENMC_PLOT_LOCATION")

if location == "cloud":
Expand All @@ -44,10 +44,8 @@

### 🐍 Install with Python ```pip install openmc_plot``` then run with ```openmc_plot```


💾 Raise a feature request, report and issue or make a contribution on [GitHub](https://github.com/fusion-energy/openmc_plot)

📧 Email feedback to [email protected]
"""
)
else:
Expand Down
16 changes: 2 additions & 14 deletions src/openmc_plot/pages/1_🖼_Geometry_plot.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
import xml.etree.ElementTree as ET
from pathlib import Path
import plotly.graph_objects as go
import matplotlib.pyplot as plt
import openmc
import streamlit as st
from matplotlib import colors
from pylab import cm, colormaps
import numpy as np

import openmc_geometry_plot # adds extra functions to openmc.Geometry

from utils import save_uploadedfile

import openmc_geometry_plot

def header():
st.write(
f"""This tab makes use of the 🐍 Python package ```openmc_geometry_plot v{openmc_geometry_plot.__version__}``` which is available on [GitHub](https://github.com/fusion-energy/openmc_geometry_plot)."""
f"""This tab makes use of the 🐍 Python package ```openmc_geometry_plot v{openmc_geometry_plot.__version__}``` which is available separately on [GitHub](https://github.com/fusion-energy/openmc_geometry_plot)."""
)

header()
Expand Down
4 changes: 2 additions & 2 deletions src/openmc_plot/pages/2_🧊_Regular_mesh_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
from matplotlib.colors import LogNorm
import plotly.graph_objects as go
import numpy as np
import regular_mesh_plotter
import openmc_regular_mesh_plotter
import xml.etree.ElementTree as ET


st.write(
f"""
This tab makes use of the 🐍 Python package ```regular_mesh_plotter v{regular_mesh_plotter.__version__}``` which is available on [GitHub](https://github.com/fusion-energy/regular_mesh_plotter).
This tab makes use of the 🐍 Python package ```openmc_regular_mesh_plotter v{openmc_regular_mesh_plotter.__version__}``` which is available on [GitHub](https://github.com/fusion-energy/regular_mesh_plotter).
"""
)

Expand Down