Skip to content

Add tiled data restructure scripts and docs - #10

Closed
gilesknap wants to merge 1 commit into
mainfrom
data-restructure
Closed

gilesknap wants to merge 1 commit into
mainfrom
data-restructure

Conversation

@gilesknap

Copy link
Copy Markdown
Contributor

Ports DiamondLightSource/diamond-tiled#1 by @Alexj9837 into this repo. The original commit's authorship is kept.

The scripts and docs restructure tiled catalog data into an instrument/proposal/visit hierarchy. One script splits sessions that were already imported.

The files stay under data_restructure/, as in diamond-tiled. The only changes from the original are for lint: ruff format, sorted imports, and # noqa: N806 on the Session = sessionmaker(...) line. Pyright and pytest don't cover this folder, so CI is unaffected.

Note: tiled_data_restructure.md refers to DLS hosts (tiled.diamond.ac.uk, p46-tiled).

🤖 Generated with Claude Code

https://claude.ai/code/session_01CCtPFejfd3WP589miPqaL3

Ported from DiamondLightSource/diamond-tiled#1. Changes from the original
are lint-only: ruff format, import sorting and noqa N806 on the
sessionmaker assignment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CCtPFejfd3WP589miPqaL3
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.64%. Comparing base (4762413) to head (c0e88c3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   61.64%   61.64%           
=======================================
  Files           3        3           
  Lines         219      219           
=======================================
  Hits          135      135           
  Misses         84       84           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ZohebShaikh

Copy link
Copy Markdown
Contributor

Closed in favour of #22

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.

3 participants