1.1: This sounds like a legitimate bug that you have found. If you are 
able, it would be best if you could create a new Issue on the Arches github 
repo: https://github.com/archesproject/arches/issues. Please read these 
pointers on creating a ticket 
first https://github.com/archesproject/arches/wiki#issue, to become 
acquainted with best practices for the Arches repo. Thanks! As far as I 
know, not a whole lot of testing with non-latin characters has been 
undertaken, so this is great feedback to get.

1.2: I just updated the data model graph that we have on the wiki: 
https://github.com/archesproject/arches/wiki/Data-Model#graphical-data-models. 
If you find the card model, you'll see, as you observed, that cardinality 
is not stored in the card model, but actually in the nodegroup that the 
card is connected to. If you are running your py file from within the 
django environment, it shouldn't be to difficult to get the nodegroup 
object for the card and then figure out the cardinality from there.

By the way, that py utility sounds very useful, and it would be great to 
add it to the command line interface if you are able to share it at some 
point.

Cheers,
Adam

On Monday, January 8, 2018 at 5:56:57 AM UTC-6, Angela Feliu wrote:
>
> --I have used the mapping file export to generate a postgres view.
>
> 1.1 If the resource model has diacritics in name, the arches project 
> throws an error when exporting (some problems of codification I guess)
> 1.2 I create a py that from the export file generate the postgres view as 
> the resrource model can have a lot of cards
>       But when the card ALLOW MULTIPLE VALUES in the export file doesn't 
> say anything so there's no way to know if will be for multiple values or not
>
>
>
>
On Monday, January 8, 2018 at 5:56:57 AM UTC-6, Angela Feliu wrote:
>
> --I have used the mapping file export to generate a postgres view.
>
> 1.1 If the resource model has diacritics in name, the arches project 
> throws an error when exporting (some problems of codification I guess)
> 1.2 I create a py that from the export file generate the postgres view as 
> the resrource model can have a lot of cards
>       But when the card ALLOW MULTIPLE VALUES in the export file doesn't 
> say anything so there's no way to know if will be for multiple values or not
>
>
>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to