Make ficus api file-extension agnostic

Open Beginner friendly
#54 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Search the Python package for DEFAULT_FILES and the file.stem check shown in the issue, then inspect the surrounding code and any related tests. Done means the default file is recognized by its stem rather than requiring separate default.yml, default.yaml, and default.json entries, while the existing supported formats continue to work.

Written by the indexing model from the issue text.

Description

DEFAULT_FILES = {"default.yml", "default.yaml", "default.json"}

Things would get simpler if we just used

DEFAULT = 'default'

if file.stem == DEFAULT: ...
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AllenNeuralDynamics/ficus

All issues in AllenNeuralDynamics/ficus

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.