Skip to content
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

Special Formats appears incomplete #146

Open
flooie opened this issue Nov 16, 2022 · 2 comments
Open

Special Formats appears incomplete #146

flooie opened this issue Nov 16, 2022 · 2 comments

Comments

@flooie
Copy link
Contributor

flooie commented Nov 16, 2022

In testing special formats in CL it became apparent that this method doesnt appear to be correctly identifying special formats.

@flooie
Copy link
Contributor Author

flooie commented Nov 17, 2022

To expand briefly, the special format tool is supposed to generate (from the docs)

The dictionary takes the form of:
        {
            'T.C. Summary Opinion': '{reporter} {volume}-{page}',
            'T.C. Memo.': '{reporter} {volume}-{page}'
            ...
        }

but currently the following is the entire dictionary generated.

{'Add.': '{reporter} {page}',
 'Bankr. L. Rep.': '{reporter} {page}', 
'Fed. Sec. L. Rep. (CCH)': '{reporter} {page}', 
'NMCA': '{volume}-{reporter}-{page}', 
'NMCERT': '{volume}-{reporter}-{page}', 
'NMSC': '{volume}-{reporter}-{page}', 
'Ohio': '{volume}-{reporter}-{page}'}

It appears that whatever is meant to trigger and generate this dictionary is no longer working correctly. I realized this because the examples in the doc string aren't there.

@flooie
Copy link
Contributor Author

flooie commented Nov 17, 2022

Or more specifically, we need to update the special formats - and label them appropriately in the cite_format field

"cite_format": "{volume}-{reporter}-{page}",

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

No branches or pull requests

1 participant