Commit 50a3e227 authored by Laura, Jason R.'s avatar Laura, Jason R.
Browse files

Merge branch 'update_network_graph' into 'main'

Update files in network.py

See merge request astrogeology/autocnet!691
parents d4caeecb ddb35528
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ release.
### Fixed
- Errors when importing sensor model in `overlap.py`
- Dealt with None values trying to be converted to a shapely point in `centroids.py`
- Dealt with Key Error when finding file paths in the network nodes.

## [1.1.0]
### Added
+1 −2
Original line number Diff line number Diff line
@@ -2225,8 +2225,7 @@ class NetworkCandidateGraph(CandidateGraph):
            flistpath = os.path.splitext(path)[0] + '.lis'
        target = self.config['spatial'].get('target', None)

        ids = df['imageid'].unique()
        fpaths = [self.nodes[i]['data']['image_path'] for i in ids]
        fpaths = [str(path) for path in self.nodes]
        for f in self.files:
            if f not in fpaths:
                log.warning(f'{f} in candidate graph but not in output network.')