-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run rarity #2
Comments
@Efthymios-Papakostopoulos If you have a large collection it will take a while to calculate rarity. You could try adding some You could add hashlips_art_engine/utils/rarity.js Lines 17 to 18 in 4f0a60a
hashlips_art_engine/utils/rarity.js Lines 43 to 44 in 4f0a60a
hashlips_art_engine/utils/rarity.js Lines 60 to 61 in 4f0a60a
|
@Efthymios-Papakostopoulos could you try adding hashlips_art_engine/utils/rarity.js Lines 50 to 51 in 4f0a60a
Then paste some of the output (~20 lines). It should look like I think this can be caused if you change |
I did add the first part but I can't understand what I should add after
Apologies |
@Efthymios-Papakostopoulos you just needed to add that |
I run it again, but it gave me the same output @bolshoytoster |
@Efthymios-Papakostopoulos it should be before that. |
Ahm issue is that i can't scroll that far up because there are too many lines of such data. Can w save the whole output somewhere? |
@Efthymios-Papakostopoulos I have no clue how you do it in powershell, you can probably stop the output by commenting out hashlips_art_engine/utils/rarity.js Line 76 in 4f0a60a
by addinng |
@Efthymios-Papakostopoulos no, it's before that, the lines should end with PS: it's a lot easier/quicker for both of us if you copy/paste thte text instead of screenshotting. |
Probably its this then
|
@Efthymios-Papakostopoulos that's it, what if you change the console.log(rarityDataTrait.trait, value, rarityDataTrait.trait == value) to console.log(attribute, rarityDataTrait.trait, value, rarityDataTrait.trait == value) |
Here it is
|
@Efthymios-Papakostopoulos I think your metadata might be buggered, could you check the If so, did you generate the metadata with this repo so I can try to figure out what causes it |
"None" is basically a value we defined for empty (blank) images that we wanted to show as an extra field of trait. And yes I did generate everything from this repo |
Checklist
Description
I'm trying to run the command
npm run rarity
but it doesn't work. I don't get an error in return but my PC becomes so slow and there is no output in the terminal.What could cause that issue?
Steps to reproduce
No response
Expected result
No response
Actual result
No response
Environment
No response
The text was updated successfully, but these errors were encountered: