From 1d6f6398660312a15cd579c568183562732d0b1d Mon Sep 17 00:00:00 2001 From: Padraig Gleeson Date: Tue, 10 Jun 2025 18:27:52 +0100 Subject: [PATCH 1/3] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91ba61a6..344dc8e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,7 @@ jobs: - name: List packages so far run: | pip list + env - name: Run tests run: | From 362c2cbcdef042a7f6c432c8ed5814287a7f0214 Mon Sep 17 00:00:00 2001 From: Padraig Gleeson Date: Tue, 10 Jun 2025 20:23:19 +0100 Subject: [PATCH 2/3] Update setup.cfg --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 061937ef..3e4ae9f1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,8 +23,8 @@ classifiers= install_requires = pylems>=0.6.8 airspeed>=0.5.5 - neuromllite>=0.6.0 - libNeuroML>=0.6.5 + neuromllite>=0.6.1 + libNeuroML>=0.6.7 matplotlib matplotlib-scalebar progressbar2 From 6d4d21c3c2e90249edbd85a3012279f7c6a46673 Mon Sep 17 00:00:00 2001 From: pgleeson Date: Wed, 11 Jun 2025 09:29:22 +0100 Subject: [PATCH 3/3] Avoid numpy.typing --- pyneuroml/neuron/analysis/HHanalyse.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyneuroml/neuron/analysis/HHanalyse.py b/pyneuroml/neuron/analysis/HHanalyse.py index 9ab628bb..596f6c79 100644 --- a/pyneuroml/neuron/analysis/HHanalyse.py +++ b/pyneuroml/neuron/analysis/HHanalyse.py @@ -9,7 +9,8 @@ import re import subprocess import sys -import typing +from typing import List as typing_List +from typing import Optional as typing_Optional from math import log import matplotlib.pyplot as pylab @@ -138,7 +139,7 @@ def remove_comments(txt): return clear_txt -def get_states(txt: str) -> typing.List[str]: +def get_states(txt: str) -> typing_List[str]: """Get list of states from mod file text. :param txt: mod file text @@ -158,7 +159,7 @@ def get_states(txt: str) -> typing.List[str]: return state_list -def get_suffix(txt: str) -> typing.Optional[str]: +def get_suffix(txt: str) -> typing_Optional[str]: """Get suffix mod file text :param txt: mod file text