Wrong comment
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at moorpy/system.py around line 1364 and inspect the related point-type comments, then search for other swapped instances. Review moorpy/point.py near line 4 for the proposed constants and update the affected comments so each describes the correct point type; done means the comments consistently match their values.
Written by the indexing model from the issue text.
Description
Description
The comments here are swapped (There are some other instances):
https://github.com/NREL/MoorPy/blob/master/moorpy/system.py#L1364
I suggest you to fix this adding some constants. e.g. on https://github.com/NREL/MoorPy/blob/master/moorpy/point.py#L4 you can add
POINT_TYPE_FIXED = -1
POINT_TYPE_FREE = 0
POINT_TYPE_COPUPLED = 1
- Dominant language
- Python
- Stars
- 53
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NatLabRockies/MoorPy
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NatLabRockies/MoorPy#22 · 4 comments ·
-
NatLabRockies/MoorPy#64 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
NatLabRockies/MoorPy#63 · 3 comments ·
-
API moordyn bug Open
Difficulty 3/5 1-2 days Newbie friendliness 38/100
NatLabRockies/MoorPy#61 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
NatLabRockies/MoorPy#59 · 2 comments ·
All issues in NatLabRockies/MoorPy
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100