Skip to content

Commit

Permalink
Merge branch 'master' (v3.0.0-RC2-patch1) into v3.0.0-RC3
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastientourbier committed Feb 4, 2021
2 parents 0e4ae16 + baad58a commit 4eb3e6f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cmtklib/connectome.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,16 +689,16 @@ def cmat(intrk, roi_volumes, roi_graphmls, parcellation_scheme, compute_curvatur
for u_gml, d_gml in G_out.nodes(data=True):
g2.add_node(u_gml)
if parcellation_scheme != "Lausanne2018":
g2.node[u_gml]['dn_correspondence_id'] = d_gml['dn_correspondence_id']
g2.nodes[u_gml]['dn_correspondence_id'] = d_gml['dn_correspondence_id']
else:
g2.node[u_gml]['dn_multiscaleID'] = d_gml['dn_multiscaleID']
g2.node[u_gml]['dn_fsname'] = d_gml['dn_fsname']
g2.node[u_gml]['dn_hemisphere'] = d_gml['dn_hemisphere']
g2.node[u_gml]['dn_name'] = d_gml['dn_name']
g2.node[u_gml]['dn_position_x'] = d_gml['dn_position'][0]
g2.node[u_gml]['dn_position_y'] = d_gml['dn_position'][1]
g2.node[u_gml]['dn_position_z'] = d_gml['dn_position'][2]
g2.node[u_gml]['dn_region'] = d_gml['dn_region']
g2.nodes[u_gml]['dn_multiscaleID'] = d_gml['dn_multiscaleID']
g2.nodes[u_gml]['dn_fsname'] = d_gml['dn_fsname']
g2.nodes[u_gml]['dn_hemisphere'] = d_gml['dn_hemisphere']
g2.nodes[u_gml]['dn_name'] = d_gml['dn_name']
g2.nodes[u_gml]['dn_position_x'] = d_gml['dn_position'][0]
g2.nodes[u_gml]['dn_position_y'] = d_gml['dn_position'][1]
g2.nodes[u_gml]['dn_position_z'] = d_gml['dn_position'][2]
g2.nodes[u_gml]['dn_region'] = d_gml['dn_region']
print(' - connectome_%s.graphml' % parkey)
nx.write_graphml(g2, 'connectome_%s.graphml' % parkey)

Expand Down
32 changes: 32 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@
Changes
========

****************************
Version 3.0.0-RC2-patch1
****************************

Date: February 4, 2021

This version fixes bugs in the second release candidate of Connectome Mapper 3 (v3.0.0-RC2).
In particular, it includes:

*Bug fixes*

* Fix the error to save connectome in GraphML format reported in `#65 <https://github.com/connectomicslab/connectomemapper3/issues/65>`_ and
(`Pull Request #66 <https://github.com/connectomicslab/connectomemapper3/pull/66>`_).

*Software development life cycle*

* Remove publication of the Singularity image to sylabs.io when the master branch is updated for the sake of space (11GB limit)

*Commits*

* CI: remove publication of latest tag image on sylabs.io for space (2 days ago) - commit c765f79
* Merge pull request #66 from connectomicslab/v3.0.0-RC2-hotfix1 (3 days ago) - commit 0a2603e
* FIX: update g2.node to g2.nodes when saving connectomes as graphml (fix #65) (6 days ago) - commit d629eef
* FIX: enabled/disabled gray-out button "Run BIDS App" with Qt Style sheet [skip ci] (3 weeks ago) - commit 10e78d9
* MAINT: removed commented lines in cmpbidsappmanager/gui.py [skip ci] (3 weeks ago) - commit 4cc11e7
* FIX: check availability of modalities in the BIDS App manager window [skip ci] (3 weeks ago) - commit 80fbee2
* MAINT: update copyright year [skip ci] (3 weeks ago) - commit f7d0ffb
* CI: delete previous container with latest TAG on sylabs.io [skip ci] (4 weeks ago) - commit 15c9b18
* DOC: update tag to latest in runonhpc.rst [skip ci] (4 weeks ago) - commit 3165bcc
* CI: comment lines related to version for singularity push (4 weeks ago) - commit 3952d46


****************************
Version 3.0.0-RC2
****************************
Expand Down

0 comments on commit 4eb3e6f

Please sign in to comment.