Skip to content

Commit

Permalink
Preparing for version 2.73
Browse files Browse the repository at this point in the history
  • Loading branch information
ssandrews committed Feb 27, 2024
1 parent 67e67d9 commit 985ab42
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 8 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
## Changelog

### 2.73 (2/27/24)

- Changed default bounce interactions from the reflection method to the overlap method.
- Added PYTHON_VERSION as a compile option.
- Trying to reduce warnings from gitHub dependabot.
- Fixed bug in cmdsetreactionratemolcount command.

### 2.72 (8/17/23)

- Minor improvements to Tiff saving.
- Support for diffusion coefficient changes at surfaces.
- Improved error handling, command line input, and logging functionality.
- Added command line options with double hyphens.
- Fixed some issues that caused compiler warnings.
- Fixed a bug in the rate_rule statement.
- Increased standard string lengths from 256 to 512 characters, and long strings to 4096 characters.
- Fixed sphere reflection algorithm for the "bounce -2" setting.

### 2.71 (2/5/23)

- Fixed bug in which graphics were called by Python API even when turned off.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(NOT SMOLDYN_VERSION)
else()
# minute-ly release.
string(TIMESTAMP STAMP "%Y%m%d%H%M")
set(SMOLDYN_VERSION "2.72.dev${STAMP}")
set(SMOLDYN_VERSION "2.73.dev${STAMP}")
endif()
endif()
endif()
Expand Down
Binary file modified docs/Smoldyn/SmoldynCodeDoc.pdf
Binary file not shown.
8 changes: 4 additions & 4 deletions docs/Smoldyn/SmoldynCodeDoc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
\pretolerance=10000

\title{Smoldyn Code Documentation}
\subtitle{Version 2.72}
\date{\copyright August, 2023}
\subtitle{Version 2.73}
\date{\copyright February, 2024}
\author{Steve Andrews}
\maketitle

Expand Down Expand Up @@ -7060,9 +7060,9 @@ \subsection*{Modifications for version 2.72 (released 8/17/23)}
\item Merged an automated pull request that might fix dependabot alerts about out of date scipy.
\item Removed \ttt{public std::unary\_function<type, type>} instances from tree\_iterator.hpp (part of NSV code) because this is deprecated.

\subsection*{Modifications for version 2.73 (not released yet)}
\subsection*{Modifications for version 2.73 (released 2/27/24)}
\item Investigated diffusion coefficients in crowded systems. I now believe that the overlap method is better than the reflection method. This is discussed in the reactions chapter of the Smoldyn manual. I changed the default behavior to overlap method.
\item Added a line to the CMake file. In the Python module section, edited a line to read \ttt{find\_package(Python3 3.10 EXACT COMPONENTS Interpreter Development REQUIRED)}, where the new portion is the Python 3.10 requirement. This prevents an error of \ttt{invalid command 'bdist\_wheel'} because it now uses the same Python version for everything. ... This was reverted by someone. The below \ttt{PYTHON\_VERSION} update fixes this problem.
\item Added a line to the CMake file. In the Python module section, edited a line to read \ttt{find\_package(Python3 3.10 EXACT COMPONENTS Interpreter Development REQUIRED)}, where the new portion is the Python 3.10 requirement. This prevents an error of \ttt{invalid command 'bdist\_wheel'} because it now uses the same Python version for everything. This was reverted afterward. The below \ttt{PYTHON\_VERSION} update fixes this problem.
\item Edited Smoldyn/source/pybind11/tests/requirements.txt to simplify the file and hopefully stop warnings from the gitHub dependabot.
\item Added \ttt{PYTHON\_VERSION} as an option to the build, with new code in the master CMakeLists.txt file. Using this fixes the problem of building for one Python version and running a different one.
\item Fixed bug in cmdsetreactionratemolcount. It wasn't loading the species name correctly, leading to a non-functional command. I'm not sure why it wasn't caught earlier, but it wasn't.
Expand Down
Binary file modified docs/Smoldyn/SmoldynManual.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/Smoldyn/SmoldynManual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@


\title{Smoldyn User's Manual}
\subtitle{Version 2.72}
\date{\copyright August, 2023}
\subtitle{Version 2.73}
\date{\copyright February, 2024}
\author{Steve Andrews}
\maketitle

Expand Down
2 changes: 1 addition & 1 deletion windows/install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ copy "%FROMDIR%lib\libsmoldyn_shared.dll" "%DESTDIR%lib"

echo Installing Python bindings
where pip /q
if %ERRORLEVEL% == 0 (pip install "%FROMDIR%bin\smoldyn-2.72-cp39-cp39-win_amd64.whl") else (echo WARNING: Not installing Python bindings because pip cannot be found)
if %ERRORLEVEL% == 0 (pip install "%FROMDIR%bin\smoldyn-2.73-cp39-cp39-win_amd64.whl") else (echo WARNING: Not installing Python bindings because pip cannot be found)

echo Adding Smoldyn directory to local and system path
echo.%PATH% > "%DESTDIR%PATH_old.txt"
Expand Down

0 comments on commit 985ab42

Please sign in to comment.