kaiser-dan / proj_naive-embedded-reconstruction

Research project exploring multiplex reconstruction techniques informed by graph embeddings.
MIT License
1 stars 0 forks source link

KeyError with convex hull LE distance calculations #15

Closed kaiser-dan closed 1 year ago

kaiser-dan commented 1 year ago

Describe the bug When running Snakemake workflow for ex12-R there is a KeyError accessing the embedded vectors for C. Elegans

To Reproduce Steps to reproduce the behavior:

  1. Go to 'workflow/ex12'
  2. Run $> snakemake --cores 2
  3. Potentially wait until workflow reaches distance calculation step.
  4. See error

Expected behavior Continuing Snakemake workflow

Screenshots Screenshot from 2023-01-17 11-55-09

Additional context The KeyError appears to be some sort of off-by-one error, given the missing key is 279 and there are 279 total nodes in C. Elegans connectome.

kaiser-dan commented 1 year ago

Fixed issue but forgot to push from home computer; will push fix and close this issue tonight.

kaiser-dan commented 1 year ago

Fixed with #7 final commit 4b879e9