Skip to content

Remove duplicate METATRAITS_DIR definition in constants.py #517

@turbomam

Description

@turbomam

Context

PR #502 resulted in METATRAITS_DIR being defined twice in constants.py:

  • Line 33: METATRAITS_DIR = TRANSFORM_UTILS_DIR / METATRAITS
  • Line 576: METATRAITS_DIR = TRANSFORM_UTILS_DIR / METATRAITS

METATRAITS_MAPPINGS_DIR is derived from the first definition (line 34). Having two definitions means future edits could update one but miss the other.

Action

  • Remove the duplicate definition at line 576
  • Keep METATRAITS_RAW_DIR (line 577) near the other raw dir definitions but derive it from the single METATRAITS_DIR

Ref: #502

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions