On Wed, Aug 1, 2012 at 9:19 AM, Mark A. Matienzo
<
mark.m...@gmail.com> wrote:
> Hi Geoffrey,
>
> On Wed, Aug 1, 2012 at 9:11 AM, Geoffrey Spear <
geoff...@gmail.com> wrote:
>> Is it possible to add new fields to a pymarc.Record and have them placed in
>> the correct order in the record, rather than at the end? (I'm looking for
>> functionality like perl MARC::Record's
>> insert_fields_ordered() function).
>
> What do you mean by "the correct order"? To my knowledge, there isn't
> an comparable method to MARC::Record's insert_field_ordered()
> function, which if I recall correctly depends on the
> insert_fields_before() function.
For instance, in the project I'm working on at the moment, I'm loading
MARC records from a file and adding an 050 field to each record. I'd
like them to appear after the 049 field and before the 060 (for
example; the fields vary in each record), rather than at the end of
the record, i.e., where our catalogers would put them manually if I
hadn't offered to try to automate this :).