Skip to content

Stop reading the seven sheets emptied by the Microbe Directory move (1.7.11) - #288

Merged
lwaldron merged 2 commits into
develfrom
empty-sheets
Nov 6, 2026
Merged

lwaldron merged 2 commits into
develfrom
empty-sheets

Conversation

@lwaldron

@lwaldron lwaldron commented Nov 6, 2026

Copy link
Copy Markdown
Member

After waldronlab/bugphyzzExports#87, The Microbe Directory comes from sources/microbe_directory, and its rows were deleted from the sheets. Seven sheets held nothing else and now have only a note row, which made physiologies() fail (.processSheet() can't handle a sheet with no data rows, and the export would hit the same error).

This blanks the link and source_link of those seven rows in spreadsheet_links.tsv, as gc content already does, so the physiologies stay valid and their data comes only from sources/: animal pathogen, antimicrobial sensitivity, biofilm formation, COGEM pathogenicity rating, extreme environment, optimal ph, plant pathogenicity.

Checked with physiologies() on the 12 affected physiologies (no Microbe Directory duplicates, the other sources unchanged) and physiologies('all') (42 tables); test-physiologies and test-importSources pass.

Not fixed here: physiologies(sources = FALSE) fails for any sources-only physiology, already true of gc content before this change.

Drafted with Claude Code.

…1.7.11)

Blank the links for animal pathogen, antimicrobial sensitivity, biofilm
formation, COGEM pathogenicity rating, extreme environment, optimal ph
and plant pathogenicity, as for gc content: their data now comes only
from bugphyzzExports sources/microbe_directory.

Co-authored-by: Claude Code <noreply@anthropic.com>
Comment thread NEWS.md Outdated
# bugphyzz 1.7.11
+ `physiologies()` no longer fails on a curation sheet that has no data rows.
The Microbe Directory moved from the sheets to bugphyzzExports `sources/`
(waldronlab/bugphyzzExports#87), which left seven sheets with only a note.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# bugphyzz 1.7.11 appears twice (also at line 1). Bioconductor's NEWS parser and news() will list two entries for the same version. Merge the two into one # bugphyzz 1.7.11 section with both bullets. Alternatively, give the second one its own version (1.7.12) and bump DESCRIPTION to match.

@claude

claude Bot commented Nov 6, 2026

Copy link
Copy Markdown

Only one issue worth raising: NEWS.md has two # bugphyzz 1.7.11 headings (lines 1 and 12). Merge them into one section, or give the second its own version. The code change itself looks fine. .importSpreadsheets already skips blank links, and the blank source_link values only make .appendLinks return empty values. No new exported functions, so there is no documentation gap.

Co-authored-by: Claude Code <noreply@anthropic.com>
@lwaldron

lwaldron commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Fixed: the second 1.7.11 entry was left over from an approach I reverted (handling empty sheets in .processSheet()). Removed.

Drafted with Claude Code.

@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.32%. Comparing base (cc8823a) to head (37bfbcf).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##            devel     #288   +/-   ##
=======================================
  Coverage   42.32%   42.32%           
=======================================
  Files           5        5           
  Lines         893      893           
=======================================
  Hits          378      378           
  Misses        515      515           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@lwaldron
lwaldron merged commit a47be34 into devel Nov 6, 2026
5 checks passed
@lwaldron
lwaldron deleted the empty-sheets branch November 6, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant