https://github.com/manubot/manubot.git
Revision f9673feed2e75d38f88f9d32271b5d44949bd3f6 authored by Daniel Himmelstein on 13 November 2018, 18:35:10 UTC, committed by GitHub on 13 November 2018, 18:35:10 UTC
Merges https://github.com/greenelab/manubot/pull/76
Closes https://github.com/greenelab/manubot/issues/71

* Improve citation string error message
* Add citation validation checks in is_valid_citation_string
* Detect source capitalization issues
* is_valid_citation_string enable allow_* options to properly distinguish the validation
  needs of manuscript citation strings versus cite command citation strings.
* manubot cite CLI: validate citations & do not attempt CSL if invalid citation
* Reformat process.util.get_citation_df error message
* Improve process.manuscript.get_citation_strings docstring
1 parent a008126
Raw File
Tip revision: f9673feed2e75d38f88f9d32271b5d44949bd3f6 authored by Daniel Himmelstein on 13 November 2018, 18:35:10 UTC
Improve citation error messages
Tip revision: f9673fe
LICENSE.md
# BSD 3-Clause License

_Copyright © 2017, The Greene Lab at the University of Pennsylvania_
<br>
_All rights reserved._

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
back to top