Skip to content

Commit

Permalink
2.7.2-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesParrott committed Dec 5, 2023
1 parent 7d0a3b2 commit c5f969a
Show file tree
Hide file tree
Showing 26 changed files with 35 additions and 30 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sDNA_GH:
- Displays the results from sDNA by colouring a new layer of new polylines or the original ones.

## User manual.
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

## Table of contents

Expand Down
2 changes: 1 addition & 1 deletion dev/tests/create_random_grid_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

from random import random as random_num
from math import trunc as floor # for an int, not a float. math.floor(2.33) == 2.0; math.trunc(2.33) == 2
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/data_cruncher.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"""

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import logging
import warnings
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/gdm_from_GH_Datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


import logging
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/logging_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# SOFTWARE.

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import sys
import os
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/options_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'
"""
Functions to override namedtuples, from dicts, toml files
and other named tuples e.g. for options data structures.
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/pyshp_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'
""" Reads .shp files, and parses data and writes .shp files from any iterable.
"""

Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/add_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

from collections import OrderedDict
import logging
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/basic/ghdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


import Rhino
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/basic/quacks_like.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/python
# -*- coding: utf-8 -*-
__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


import abc
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/basic/smart_comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"""

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import logging
import inspect
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import os
import shutil
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/tools/helpers/checkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


import os
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/tools/helpers/funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# SOFTWARE.

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import os
import logging
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/tools/helpers/rhino_gh_geom.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


import os
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/tools/inserter.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import logging
import collections
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/tools/name_mapper.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/python
# -*- coding: utf-8 -*-
__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import logging
import collections
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/skel/tools/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


import logging
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/custom/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"""

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/dev_tools/dev_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import os
import logging
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/dev_tools/unload_sDNA_GH.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"""

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


from ghpythonlib.componentbase import executingcomponent as component
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"""

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'



Expand Down
15 changes: 10 additions & 5 deletions sDNA_GH/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"""

__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import sys
import os
Expand Down Expand Up @@ -982,12 +982,17 @@ def update_tools(self, nick_name = None):


for tool in my_tools:
self.tools_default_opts.update(tool.default_tool_opts)

if not isinstance(tool, tools.sDNA_ToolWrapper):
continue

self.not_shared.update(tool.not_shared)

if isinstance(tool, tools.sDNA_ToolWrapper):
sDNA = tools.sDNA_key(self.opts) # the submodule, tools.py
self.do_not_remove += tool.default_named_tuples[sDNA]._fields
self.tools_default_opts.update(tool.default_tool_opts)

sDNA = tools.sDNA_key(self.opts) # the submodule, tools.py
self.do_not_remove += tool.default_named_tuples[sDNA]._fields


#self.logger.debug(self.opts)
self.logger.debug('Tool opts == ' + '\n'.join(
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/tests/test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'


import sys
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/tests/unit_tests/sDNA_GH_unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import sys
import os
Expand Down
2 changes: 1 addition & 1 deletion sDNA_GH/tests/unit_tests/skel_unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


__author__ = 'James Parrott'
__version__ = '2.7.1'
__version__ = '2.7.2-rc'

import sys
import os
Expand Down

0 comments on commit c5f969a

Please sign in to comment.