Skip to content

Changed default for split error re: weight when there is no rarity delimiter#95

Merged
HashLips merged 1 commit intoHashLips:mainfrom
chrisninetyone:patch-1
Oct 15, 2021
Merged

Changed default for split error re: weight when there is no rarity delimiter#95
HashLips merged 1 commit intoHashLips:mainfrom
chrisninetyone:patch-1

Conversation

@chrisninetyone
Copy link
Copy Markdown
Contributor

@chrisninetyone chrisninetyone commented Oct 9, 2021

On my first attempts to run this with my project's layers (note: not using rarity delimiter), the code would error with the stack trace that follows. This change made the code work, but this PR is to point out the issue more than to propose that this is the perfect solution.

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of undefined
    at cleanDna (/Users/christopherfoley/nft/hashlips_art_engine/src/main.js:54:25)
    at /Users/christopherfoley/nft/hashlips_art_engine/src/main.js:151:22```

On my first attempts to run this with my projects layers (note: not using rarity delimiter), the code would error with the stack trace that follows. This change made my code work, but this PR is to point out the issue more than to propose that this is the perfect solution.

```UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of undefined
    at cleanDna (/Users/christopherfoley/nft/hashlips_art_engine/src/main.js:54:25)
    at /Users/christopherfoley/nft/hashlips_art_engine/src/main.js:151:22```
@chrisninetyone
Copy link
Copy Markdown
Contributor Author

chrisninetyone commented Oct 9, 2021

Weight problem is referenced in these open issues:
#83
#81

@chrisninetyone chrisninetyone changed the title Update main.js Changed default for split error re: weight when there is no rarity delimiter Oct 9, 2021
@HashLips HashLips merged commit 6208668 into HashLips:main Oct 15, 2021
devdoge999 pushed a commit to rira-university/rira-metadata-scripts that referenced this pull request Jan 16, 2022
Changed default for split error re: weight when there is no rarity delimiter
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.

2 participants